package com.tqz.rule;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * <p>负载均衡，传入一个服务列表返回一个服务实例
 *
 * @author tianqingzhao
 * @since 2021/7/8 12:13
 */
public interface IChooseInstanceRules {

    ServiceInstance chooseInstance(List<ServiceInstance> serviceInstanceList);
}
